package com.dxysun.design.visitor;

public class Main
{
	public static void test(String string)
	{
		System.out.println(string);
	}

	public static void test(Integer integer)
	{
		System.out.println("integer");

	}

	public static void main(String[] args)
	{
		ObjectStructure objectStructure = new ObjectStructure();
		objectStructure.accept(new ConcreteVisitorA());
		objectStructure.accept(new ConcreteVisitorB());

		/*String string = "1";
		Integer integer = 1;
		test(integer);
		test(string);*/
	}
}
